ToLowerCase(char* s)
{// addr = 0x0804D414
    unsigned int i;
    intOrPtr _v12;
    _unknown_ r6;
    _unknown_ _t11;
    _unknown_ _t13;
    char _t19;
    _unknown_ _t22;

    _v12 = 0;
    while(1) {
        _t13 = L0806E770(__esp, _t22, s);
        if(_t13 <= _v12) {
            break;
        }
        _t19 = L08058E80((s[_v12]) & 255);
        (s[_v12]) = _t19;
        _v12 = _v12 + 1;
    }
    return;
}